package com.fhmoralles.senha.persistencia.espec;

import java.io.Serializable;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

public abstract class AbstractSenhaPersistencia<T extends Serializable> extends
		AbstractPersistencia<T> {

	@PersistenceContext(unitName = "SenhaWebPU")
	private EntityManager em;

	protected AbstractSenhaPersistencia(
			final Class<? extends T> entityConcreteClass) {
		super(entityConcreteClass);
	}

	@Override
	protected final EntityManager getEntityManager() {
		return em;
	}

}
